@import "../../common/style/var.less";
.radar{
  height: 100%;
}
#content{
  height: 100%;
}
#classify{
  width: 100%;
  height: 50px;
  background: #fff;
  padding:5px 10px 0 10px;
  box-sizing: border-box;
  white-space: nowrap;
  .classify-scroll{
    width:100%;
    height: 100%;
  }
  .item{
    position: relative;
    display: inline-block;
    width:110px;
    height:40px;
    border-radius: 20px;
    background:@main-color-a;
    font-size: @font-size-normal;
    color: #fff;
    margin-right: 10px;
    &:last-child{
      margin: 0;
    }
    &.active{
      background:@assist-color-b;
    }
    img{
      width: 40px;
      height: 40px;
      border-radius: 20px;
      float:left;
    }
    p{
      position: absolute;
      right: 0;
      top:0;
      width: 70px;
      height: 40px;
      line-height: 40px;
      text-align: center;
    }
  }
}
#map{
  position: relative;
  width: 100%;
  box-sizing: border-box;
  .map{
    width: 100%;
    height: 100%;
  }
  .search{
    position: absolute;
    width: 300px;
    height: 40px;
    top:10px;
    left:50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 20px;
    input{
      height:40px;
      border-radius: 20px;
      font-size: @font-size-normal;
      padding:0 20px;
      box-sizing: border-box;
    }
  }
  .location{
    position: absolute;
    bottom: 150px;
    right: 10px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 15px;
    background: @main-color-b;
    color: #fff;
    text-align: center;
    i{
      font-size: 20px;
    }
  }
  .card{
    position: absolute;
    width: 355px;
    min-height: 120px;
    bottom: 10px;
    left:10px;
    background: #fff;
    border-radius: 15px;
    padding:15px 10px 0 10px;
    box-sizing: border-box;
    font-size: @font-size-normal;
    div{
      &.name{
        font-size: @font-size-title;
        width: 270px;
        height: 20px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        float: left;
        margin-bottom: 5px;
      }
      &.time{
        width: 270px;
        height: 20px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        float: left;
        color: @font-assist-b;
        margin-bottom: 5px;
      }
      &.navigation-button{
        position: absolute;
        right: 10px;
        top:15px;
        width: 45px;
        height: 45px;
        border-radius: 5px;
        background: @main-bg;
        color: #fff;
        font-size: @font-size-min;
        text-align: center;
        i{
          text-align: center;
          height:27px;
          line-height: 27px;
          font-size: 25px;
        }
        span{
          position:relative;
          top:-1px;
        }
      }
      &.address{
        width: 100%;
        height: 20px;
        clear:both;
        color: @font-assist-a;
        margin-bottom: 5px;
        i{
          display: inline;
          font-size:17px;
        }
      }
      &.scope{
        width: 100%;
        overflow: hidden;
        font-size: @font-size-min;
        p{
          float: left;
          display: inline;
          background: @assist-color-a;
          color: #fff;
          margin: 0 10px 10px 0;
          padding:3px 8px;
          border-radius: 15px;
        }
      }
    }
  }
}
